package com.java.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.java.system.entity.Resource;
import com.java.system.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户
 * 
 * @author jl
 * @since 2020-10-09 09:30:58
 */
@Mapper
public interface UserDao extends BaseMapper<User> {

    List<Resource> findResources(@Param("userId") String userId);
}
